Bit inversion
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
top
In computing and telecommunications, bit inversion means the changing of the state of a bit or binary number to the opposite state, i.e. the changing of a 0 bit to 1 or of a 1 bit to 0.cite-ref-1[1]cite-ref-2[2]cite-ref-3[3] It is often represented with a tilde (~).cite-ref-4[4] It also refers to the changing of a state representing a given bit to the opposite state.
Contents
• See also
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
References
cite-note-11. ↑ "Bitwise NOT (~) - JavaScript | MDN". developer.mozilla.org. 2023-08-15. Retrieved 2023-10-17.
cite-note-22. ↑ "%BITNOT (Invert Bits)". www.ibm.com. 2023-04-11. Retrieved 2023-10-17.
cite-note-33. ↑ "Invert actual bits of a number". GeeksforGeeks. 2018-05-18. Retrieved 2023-10-17.
cite-note-44. ↑ "~ - Arduino Reference". www.arduino.cc. Retrieved 2023-10-17.
See also
Look up
bit inversion
in Wiktionary, the free dictionary.